package com.woniu.gf.pawn.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.gf.pawn.comm.core.domain.Image;
import com.woniu.gf.pawn.comm.core.domain.ProductSmallType;
import com.woniu.gf.pawn.product.parma.FindProductSmallTypePageParam;
import com.woniu.gf.pawn.product.parma.ShowProductSmallTypeParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lucas
 * @since 2020-10-15
 */
public interface IProductSmallTypeService extends IService<ProductSmallType> {

    /**
     * c查询
     * @param FindProductSmallTypePageParam
     * @return
     */
    IPage<ShowProductSmallTypeParam> selectPageVo(FindProductSmallTypePageParam FindProductSmallTypePageParam);

    /**
     * 添加
     * @param productSmallType
     * @param image
     */
    void addSmallType(ProductSmallType productSmallType,Image image);

    /**
     * 修改
     * @param productSmallType
     * @param image
     */
    void updateSmallType(ProductSmallType productSmallType,Image image);

    /**
     * 删除
     * @param ids
     */
   void deleteSmallType(List<Integer> ids);
}
